import Vue from 'vue'
import Router from 'vue-router'
const Index = () => import('@/components')
const Booking = () => import('@/components/pay/booking')
const Spell = () => import('@/components/pay/spell')
const Notice = () => import('@/components/panes/adytum.notice')

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'index',
      component: Index
    },
    {
      path: '/booking/:id',
      name: 'booking',
      component: Booking
    },
    {
      path: '/spell/:id',
      name: 'spell',
      component: Spell
    },
    {
      path: '/notice',
      name: 'notice',
      component: Notice
    }
  ]
})
